package com.androidx.p013lv.mine.databinding;

import android.graphics.drawable.Drawable;
import android.support.p007v4.media.session.PlaybackStateCompat;
import android.util.SparseIntArray;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.databinding.DataBindingComponent;
import androidx.databinding.ViewDataBinding;
import androidx.databinding.adapters.TextViewBindingAdapter;
import androidx.databinding.adapters.ViewBindingAdapter;
import androidx.lifecycle.LifecycleOwner;
import androidx.recyclerview.widget.RecyclerView;
import com.androidx.p013lv.base.bean.UserAccount;
import com.androidx.p013lv.mine.C1206BR;
import com.androidx.p013lv.mine.C1207R;
import com.androidx.p013lv.mine.bean.RechargeBean;
import com.androidx.p013lv.mine.fragment.VipCenterFragment;
import com.androidx.p013lv.mine.generated.callback.OnClickListener;
import p031tv.danmaku.ijk.media.player.IjkMediaMeta;

/* renamed from: com.androidx.lv.mine.databinding.VipCenterFragmentBindingImpl */
public class VipCenterFragmentBindingImpl extends VipCenterFragmentBinding implements OnClickListener.Listener {
    private static final ViewDataBinding.IncludedLayouts sIncludes;
    private static final SparseIntArray sViewsWithIds;
    private final View.OnClickListener mCallback47;
    private final View.OnClickListener mCallback48;
    private final View.OnClickListener mCallback49;
    private final View.OnClickListener mCallback50;
    private final View.OnClickListener mCallback51;
    private long mDirtyFlags;
    private final RelativeLayout mboundView0;
    private final LinearLayout mboundView1;
    private final ImageView mboundView10;
    private final LinearLayout mboundView11;
    private final TextView mboundView14;
    private final TextView mboundView3;
    private final TextView mboundView4;
    private final LinearLayout mboundView5;
    private final ImageView mboundView6;
    private final ImageView mboundView8;
    private final LinearLayout mboundView9;

    static {
        ViewDataBinding.IncludedLayouts includedLayouts = new ViewDataBinding.IncludedLayouts(21);
        sIncludes = includedLayouts;
        includedLayouts.setIncludes(1, new String[]{"mine_vip_privilege_layout"}, new int[]{15}, new int[]{C1207R.C1212layout.mine_vip_privilege_layout});
        SparseIntArray sparseIntArray = new SparseIntArray();
        sViewsWithIds = sparseIntArray;
        sparseIntArray.put(C1207R.C1210id.recycler, 16);
        sViewsWithIds.put(C1207R.C1210id.ll_new_time, 17);
        sViewsWithIds.put(C1207R.C1210id.tv_new_time_hh, 18);
        sViewsWithIds.put(C1207R.C1210id.tv_new_time_mm, 19);
        sViewsWithIds.put(C1207R.C1210id.tv_new_time_ss, 20);
    }

    public VipCenterFragmentBindingImpl(DataBindingComponent dataBindingComponent, View view) {
        this(dataBindingComponent, view, mapBindings(dataBindingComponent, view, 21, sIncludes, sViewsWithIds));
    }

    private VipCenterFragmentBindingImpl(DataBindingComponent dataBindingComponent, View view, Object[] objArr) {
        super(dataBindingComponent, view, 3, (MineVipPrivilegeLayoutBinding) objArr[15], (LinearLayout) objArr[17], (LinearLayout) objArr[7], (RecyclerView) objArr[16], (RelativeLayout) objArr[2], (TextView) objArr[13], (TextView) objArr[18], (TextView) objArr[19], (TextView) objArr[20], (TextView) objArr[12]);
        this.mDirtyFlags = -1;
        this.f333a.setTag(null);
        RelativeLayout relativeLayout = (RelativeLayout) objArr[0];
        this.mboundView0 = relativeLayout;
        relativeLayout.setTag(null);
        LinearLayout linearLayout = (LinearLayout) objArr[1];
        this.mboundView1 = linearLayout;
        linearLayout.setTag(null);
        ImageView imageView = (ImageView) objArr[10];
        this.mboundView10 = imageView;
        imageView.setTag(null);
        LinearLayout linearLayout2 = (LinearLayout) objArr[11];
        this.mboundView11 = linearLayout2;
        linearLayout2.setTag(null);
        TextView textView = (TextView) objArr[14];
        this.mboundView14 = textView;
        textView.setTag(null);
        TextView textView2 = (TextView) objArr[3];
        this.mboundView3 = textView2;
        textView2.setTag(null);
        TextView textView3 = (TextView) objArr[4];
        this.mboundView4 = textView3;
        textView3.setTag(null);
        LinearLayout linearLayout3 = (LinearLayout) objArr[5];
        this.mboundView5 = linearLayout3;
        linearLayout3.setTag(null);
        ImageView imageView2 = (ImageView) objArr[6];
        this.mboundView6 = imageView2;
        imageView2.setTag(null);
        ImageView imageView3 = (ImageView) objArr[8];
        this.mboundView8 = imageView3;
        imageView3.setTag(null);
        LinearLayout linearLayout4 = (LinearLayout) objArr[9];
        this.mboundView9 = linearLayout4;
        linearLayout4.setTag(null);
        this.f334b.setTag(null);
        this.tvActionPay.setTag(null);
        this.tvPlayMoney.setTag(null);
        setRootTag(view);
        this.mCallback47 = new OnClickListener(this, 1);
        this.mCallback50 = new OnClickListener(this, 4);
        this.mCallback48 = new OnClickListener(this, 2);
        this.mCallback51 = new OnClickListener(this, 5);
        this.mCallback49 = new OnClickListener(this, 3);
        invalidateAll();
    }

    @Override // androidx.databinding.ViewDataBinding
    public void invalidateAll() {
        synchronized (this) {
            this.mDirtyFlags = 4096;
        }
        this.includeVipLayout.invalidateAll();
        requestRebind();
    }

    /* JADX WARNING: Code restructure failed: missing block: B:10:0x0016, code lost:
        return false;
     */
    /* JADX WARNING: Code restructure failed: missing block: B:8:0x0013, code lost:
        if (r6.includeVipLayout.hasPendingBindings() == false) goto L_0x0016;
     */
    /* JADX WARNING: Code restructure failed: missing block: B:9:0x0015, code lost:
        return true;
     */
    @Override // androidx.databinding.ViewDataBinding
    public boolean hasPendingBindings() {
        synchronized (this) {
            if (this.mDirtyFlags != 0) {
                return true;
            }
        }
    }

    @Override // androidx.databinding.ViewDataBinding
    public boolean setVariable(int i, Object obj) {
        if (C1206BR.aliPay == i) {
            setAliPay((Integer) obj);
        } else if (C1206BR.weChat == i) {
            setWeChat((Integer) obj);
        } else if (C1206BR.userAccount == i) {
            setUserAccount((UserAccount) obj);
        } else if (C1206BR.vipShow == i) {
            setVipShow((Integer) obj);
        } else if (C1206BR.ysf == i) {
            setYsf((Integer) obj);
        } else if (C1206BR.commitStatus == i) {
            setCommitStatus((Integer) obj);
        } else if (C1206BR.bean == i) {
            setBean((RechargeBean) obj);
        } else if (C1206BR.click != i) {
            return false;
        } else {
            setClick((VipCenterFragment.OnClick) obj);
        }
        return true;
    }

    @Override // com.androidx.p013lv.mine.databinding.VipCenterFragmentBinding
    public void setAliPay(Integer num) {
        this.mAliPay = num;
        synchronized (this) {
            this.mDirtyFlags |= 8;
        }
        notifyPropertyChanged(C1206BR.aliPay);
        super.requestRebind();
    }

    @Override // com.androidx.p013lv.mine.databinding.VipCenterFragmentBinding
    public void setWeChat(Integer num) {
        this.mWeChat = num;
        synchronized (this) {
            this.mDirtyFlags |= 16;
        }
        notifyPropertyChanged(C1206BR.weChat);
        super.requestRebind();
    }

    @Override // com.androidx.p013lv.mine.databinding.VipCenterFragmentBinding
    public void setUserAccount(UserAccount userAccount) {
        updateRegistration(0, userAccount);
        this.mUserAccount = userAccount;
        synchronized (this) {
            this.mDirtyFlags |= 1;
        }
        notifyPropertyChanged(C1206BR.userAccount);
        super.requestRebind();
    }

    @Override // com.androidx.p013lv.mine.databinding.VipCenterFragmentBinding
    public void setVipShow(Integer num) {
        this.mVipShow = num;
        synchronized (this) {
            this.mDirtyFlags |= 32;
        }
        notifyPropertyChanged(C1206BR.vipShow);
        super.requestRebind();
    }

    @Override // com.androidx.p013lv.mine.databinding.VipCenterFragmentBinding
    public void setYsf(Integer num) {
        this.mYsf = num;
        synchronized (this) {
            this.mDirtyFlags |= 64;
        }
        notifyPropertyChanged(C1206BR.ysf);
        super.requestRebind();
    }

    @Override // com.androidx.p013lv.mine.databinding.VipCenterFragmentBinding
    public void setCommitStatus(Integer num) {
        this.mCommitStatus = num;
        synchronized (this) {
            this.mDirtyFlags |= 128;
        }
        notifyPropertyChanged(C1206BR.commitStatus);
        super.requestRebind();
    }

    @Override // com.androidx.p013lv.mine.databinding.VipCenterFragmentBinding
    public void setBean(RechargeBean rechargeBean) {
        updateRegistration(2, rechargeBean);
        this.mBean = rechargeBean;
        synchronized (this) {
            this.mDirtyFlags |= 4;
        }
        notifyPropertyChanged(C1206BR.bean);
        super.requestRebind();
    }

    @Override // com.androidx.p013lv.mine.databinding.VipCenterFragmentBinding
    public void setClick(VipCenterFragment.OnClick onClick) {
        this.mClick = onClick;
        synchronized (this) {
            this.mDirtyFlags |= 256;
        }
        notifyPropertyChanged(C1206BR.click);
        super.requestRebind();
    }

    @Override // androidx.databinding.ViewDataBinding
    public void setLifecycleOwner(LifecycleOwner lifecycleOwner) {
        super.setLifecycleOwner(lifecycleOwner);
        this.includeVipLayout.setLifecycleOwner(lifecycleOwner);
    }

    /* access modifiers changed from: protected */
    @Override // androidx.databinding.ViewDataBinding
    public boolean onFieldChange(int i, Object obj, int i2) {
        if (i == 0) {
            return onChangeUserAccount((UserAccount) obj, i2);
        }
        if (i == 1) {
            return onChangeIncludeVipLayout((MineVipPrivilegeLayoutBinding) obj, i2);
        }
        if (i != 2) {
            return false;
        }
        return onChangeBean((RechargeBean) obj, i2);
    }

    private boolean onChangeUserAccount(UserAccount userAccount, int i) {
        if (i == C1206BR._all) {
            synchronized (this) {
                this.mDirtyFlags |= 1;
            }
            return true;
        } else if (i != C1206BR.bala) {
            return false;
        } else {
            synchronized (this) {
                this.mDirtyFlags |= 512;
            }
            return true;
        }
    }

    private boolean onChangeIncludeVipLayout(MineVipPrivilegeLayoutBinding mineVipPrivilegeLayoutBinding, int i) {
        if (i != C1206BR._all) {
            return false;
        }
        synchronized (this) {
            this.mDirtyFlags |= 2;
        }
        return true;
    }

    private boolean onChangeBean(RechargeBean rechargeBean, int i) {
        if (i == C1206BR._all) {
            synchronized (this) {
                this.mDirtyFlags |= 4;
            }
            return true;
        } else if (i == C1206BR.rechType) {
            synchronized (this) {
                this.mDirtyFlags |= 1024;
            }
            return true;
        } else if (i != C1206BR.money) {
            return false;
        } else {
            synchronized (this) {
                this.mDirtyFlags |= 2048;
            }
            return true;
        }
    }

    /* access modifiers changed from: protected */
    /* JADX WARNING: Removed duplicated region for block: B:102:0x0139  */
    /* JADX WARNING: Removed duplicated region for block: B:171:0x0226  */
    /* JADX WARNING: Removed duplicated region for block: B:174:0x0236  */
    /* JADX WARNING: Removed duplicated region for block: B:177:0x0247  */
    /* JADX WARNING: Removed duplicated region for block: B:180:0x0272  */
    /* JADX WARNING: Removed duplicated region for block: B:183:0x027d  */
    /* JADX WARNING: Removed duplicated region for block: B:186:0x0299  */
    /* JADX WARNING: Removed duplicated region for block: B:189:0x02a9  */
    /* JADX WARNING: Removed duplicated region for block: B:192:0x02b5  */
    /* JADX WARNING: Removed duplicated region for block: B:195:0x02c0  */
    /* JADX WARNING: Removed duplicated region for block: B:198:0x02cb  */
    /* JADX WARNING: Removed duplicated region for block: B:22:0x004a  */
    /* JADX WARNING: Removed duplicated region for block: B:37:0x0073  */
    /* JADX WARNING: Removed duplicated region for block: B:41:0x0094  */
    /* JADX WARNING: Removed duplicated region for block: B:44:0x009e  */
    /* JADX WARNING: Removed duplicated region for block: B:59:0x00c9  */
    /* JADX WARNING: Removed duplicated region for block: B:74:0x00f0  */
    /* JADX WARNING: Removed duplicated region for block: B:99:0x012b  */
    @Override // androidx.databinding.ViewDataBinding
    public void executeBindings() {
        long j;
        int i;
        long j2;
        int i2;
        String str;
        long j3;
        int i3;
        long j4;
        int i4;
        long j5;
        int i5;
        int i6;
        long j6;
        Drawable drawable;
        String str2;
        Drawable drawable2;
        Drawable drawable3;
        Drawable drawable4;
        int i7;
        boolean z;
        long j7;
        int i8;
        ImageView imageView;
        synchronized (this) {
            j = this.mDirtyFlags;
            this.mDirtyFlags = 0;
        }
        Integer num = this.mAliPay;
        Integer num2 = this.mWeChat;
        UserAccount userAccount = this.mUserAccount;
        Integer num3 = this.mVipShow;
        Integer num4 = this.mYsf;
        Integer num5 = this.mCommitStatus;
        RechargeBean rechargeBean = this.mBean;
        VipCenterFragment.OnClick onClick = this.mClick;
        long j8 = j & 4104;
        int i9 = 8;
        if (j8 != 0) {
            boolean z2 = ViewDataBinding.safeUnbox(num) == 1;
            if (j8 != 0) {
                j |= z2 ? 16384 : 8192;
            }
            if (!z2) {
                i = 8;
                j2 = j & 4112;
                if (j2 != 0) {
                    boolean z3 = ViewDataBinding.safeUnbox(num2) == 1;
                    if (j2 != 0) {
                        j |= z3 ? 67108864 : 33554432;
                    }
                    if (!z3) {
                        i2 = 8;
                        String str3 = null;
                        if ((j & 4609) != 0) {
                            str = String.valueOf("钱包:" + (userAccount != null ? userAccount.getBala() : 0.0d));
                        } else {
                            str = null;
                        }
                        j3 = j & 4128;
                        if (j3 != 0) {
                            boolean z4 = ViewDataBinding.safeUnbox(num3) == 1;
                            if (j3 != 0) {
                                j |= z4 ? IjkMediaMeta.AV_CH_WIDE_RIGHT : IjkMediaMeta.AV_CH_WIDE_LEFT;
                            }
                            if (!z4) {
                                i3 = 8;
                                j4 = j & 4160;
                                if (j4 != 0) {
                                    boolean z5 = ViewDataBinding.safeUnbox(num4) == 1;
                                    if (j4 != 0) {
                                        j |= z5 ? 16777216 : 8388608;
                                    }
                                    if (!z5) {
                                        i4 = 8;
                                        j5 = j & 4224;
                                        if (j5 != 0) {
                                            int safeUnbox = ViewDataBinding.safeUnbox(num5);
                                            boolean z6 = safeUnbox != 0;
                                            boolean z7 = safeUnbox == 0;
                                            if (j5 != 0) {
                                                j |= z6 ? PlaybackStateCompat.ACTION_SET_REPEAT_MODE : 131072;
                                            }
                                            if ((j & 4224) != 0) {
                                                j |= z7 ? 268435456 : 134217728;
                                            }
                                            i5 = z6 ? 0 : 8;
                                            if (z7) {
                                                i9 = 0;
                                            }
                                            i6 = i9;
                                        } else {
                                            i6 = 0;
                                            i5 = 0;
                                        }
                                        if ((j & 7172) != 0) {
                                            long j9 = j & 5124;
                                            if (j9 != 0) {
                                                if (rechargeBean != null) {
                                                    i7 = rechargeBean.getRechType();
                                                } else {
                                                    i7 = 0;
                                                }
                                                boolean z8 = i7 == 1;
                                                boolean z9 = i7 == 0;
                                                boolean z10 = i7 == 3;
                                                if (i7 == 2) {
                                                    j7 = 0;
                                                    z = true;
                                                } else {
                                                    j7 = 0;
                                                    z = false;
                                                }
                                                if (j9 != j7) {
                                                    j |= z8 ? 65536 : 32768;
                                                }
                                                if ((j & 5124) != j7) {
                                                    j |= z9 ? 4194304 : PlaybackStateCompat.ACTION_SET_SHUFFLE_MODE;
                                                }
                                                if ((j & 5124) != j7) {
                                                    j |= z10 ? PlaybackStateCompat.ACTION_SET_CAPTIONING_ENABLED : PlaybackStateCompat.ACTION_SET_SHUFFLE_MODE_ENABLED;
                                                }
                                                if ((j & 5124) != j7) {
                                                    j |= z ? IjkMediaMeta.AV_CH_STEREO_RIGHT : IjkMediaMeta.AV_CH_STEREO_LEFT;
                                                }
                                                drawable4 = getDrawableFromResource(this.mboundView6, z8 ? C1207R.C1209drawable.mine_pay_selet : C1207R.C1209drawable.mine_pay_selet_zfb);
                                                drawable3 = getDrawableFromResource(this.mboundView4, z9 ? C1207R.C1209drawable.mine_pay_selet : C1207R.C1209drawable.mine_pay_selet_qb);
                                                if (z10) {
                                                    imageView = this.mboundView10;
                                                    i8 = C1207R.C1209drawable.mine_pay_selet;
                                                } else {
                                                    imageView = this.mboundView10;
                                                    i8 = C1207R.C1209drawable.mine_pay_selet_ysf;
                                                }
                                                drawable2 = getDrawableFromResource(imageView, i8);
                                                drawable = getDrawableFromResource(this.mboundView8, z ? C1207R.C1209drawable.mine_pay_selet : C1207R.C1209drawable.mine_pay_selet_wx);
                                            } else {
                                                drawable4 = null;
                                                drawable3 = null;
                                                drawable2 = null;
                                                drawable = null;
                                            }
                                            if ((j & 6148) != 0) {
                                                str3 = String.valueOf(("¥" + (rechargeBean != null ? rechargeBean.getMoney() : 0)) + "元");
                                                j = j;
                                            }
                                            str2 = str3;
                                            j6 = 4128;
                                        } else {
                                            j6 = 4128;
                                            drawable4 = null;
                                            drawable3 = null;
                                            drawable2 = null;
                                            str2 = null;
                                            drawable = null;
                                        }
                                        if ((j & j6) != 0) {
                                            this.includeVipLayout.getRoot().setVisibility(i3);
                                        }
                                        if ((j & 4096) != 0) {
                                            this.f333a.setOnClickListener(this.mCallback49);
                                            this.mboundView5.setOnClickListener(this.mCallback48);
                                            this.mboundView9.setOnClickListener(this.mCallback50);
                                            this.f334b.setOnClickListener(this.mCallback47);
                                            this.tvActionPay.setOnClickListener(this.mCallback51);
                                        }
                                        if ((j & 4112) != 0) {
                                            this.f333a.setVisibility(i2);
                                        }
                                        if ((j & 5124) != 0) {
                                            ViewBindingAdapter.setBackground(this.mboundView10, drawable2);
                                            ViewBindingAdapter.setBackground(this.mboundView4, drawable3);
                                            ViewBindingAdapter.setBackground(this.mboundView6, drawable4);
                                            ViewBindingAdapter.setBackground(this.mboundView8, drawable);
                                        }
                                        if ((j & 4224) != 0) {
                                            this.mboundView11.setVisibility(i6);
                                            this.mboundView14.setVisibility(i5);
                                        }
                                        if ((j & 4609) != 0) {
                                            TextViewBindingAdapter.setText(this.mboundView3, str);
                                        }
                                        if ((4104 & j) != 0) {
                                            this.mboundView5.setVisibility(i);
                                        }
                                        if ((j & 4160) != 0) {
                                            this.mboundView9.setVisibility(i4);
                                        }
                                        if ((j & 6148) != 0) {
                                            TextViewBindingAdapter.setText(this.tvPlayMoney, str2);
                                        }
                                        executeBindingsOn(this.includeVipLayout);
                                    }
                                }
                                i4 = 0;
                                j5 = j & 4224;
                                if (j5 != 0) {
                                }
                                if ((j & 7172) != 0) {
                                }
                                if ((j & j6) != 0) {
                                }
                                if ((j & 4096) != 0) {
                                }
                                if ((j & 4112) != 0) {
                                }
                                if ((j & 5124) != 0) {
                                }
                                if ((j & 4224) != 0) {
                                }
                                if ((j & 4609) != 0) {
                                }
                                if ((4104 & j) != 0) {
                                }
                                if ((j & 4160) != 0) {
                                }
                                if ((j & 6148) != 0) {
                                }
                                executeBindingsOn(this.includeVipLayout);
                            }
                        }
                        i3 = 0;
                        j4 = j & 4160;
                        if (j4 != 0) {
                        }
                        i4 = 0;
                        j5 = j & 4224;
                        if (j5 != 0) {
                        }
                        if ((j & 7172) != 0) {
                        }
                        if ((j & j6) != 0) {
                        }
                        if ((j & 4096) != 0) {
                        }
                        if ((j & 4112) != 0) {
                        }
                        if ((j & 5124) != 0) {
                        }
                        if ((j & 4224) != 0) {
                        }
                        if ((j & 4609) != 0) {
                        }
                        if ((4104 & j) != 0) {
                        }
                        if ((j & 4160) != 0) {
                        }
                        if ((j & 6148) != 0) {
                        }
                        executeBindingsOn(this.includeVipLayout);
                    }
                }
                i2 = 0;
                String str32 = null;
                if ((j & 4609) != 0) {
                }
                j3 = j & 4128;
                if (j3 != 0) {
                }
                i3 = 0;
                j4 = j & 4160;
                if (j4 != 0) {
                }
                i4 = 0;
                j5 = j & 4224;
                if (j5 != 0) {
                }
                if ((j & 7172) != 0) {
                }
                if ((j & j6) != 0) {
                }
                if ((j & 4096) != 0) {
                }
                if ((j & 4112) != 0) {
                }
                if ((j & 5124) != 0) {
                }
                if ((j & 4224) != 0) {
                }
                if ((j & 4609) != 0) {
                }
                if ((4104 & j) != 0) {
                }
                if ((j & 4160) != 0) {
                }
                if ((j & 6148) != 0) {
                }
                executeBindingsOn(this.includeVipLayout);
            }
        }
        i = 0;
        j2 = j & 4112;
        if (j2 != 0) {
        }
        i2 = 0;
        String str322 = null;
        if ((j & 4609) != 0) {
        }
        j3 = j & 4128;
        if (j3 != 0) {
        }
        i3 = 0;
        j4 = j & 4160;
        if (j4 != 0) {
        }
        i4 = 0;
        j5 = j & 4224;
        if (j5 != 0) {
        }
        if ((j & 7172) != 0) {
        }
        if ((j & j6) != 0) {
        }
        if ((j & 4096) != 0) {
        }
        if ((j & 4112) != 0) {
        }
        if ((j & 5124) != 0) {
        }
        if ((j & 4224) != 0) {
        }
        if ((j & 4609) != 0) {
        }
        if ((4104 & j) != 0) {
        }
        if ((j & 4160) != 0) {
        }
        if ((j & 6148) != 0) {
        }
        executeBindingsOn(this.includeVipLayout);
    }

    @Override // com.androidx.p013lv.mine.generated.callback.OnClickListener.Listener
    public final void _internalCallbackOnClick(int i, View view) {
        boolean z = false;
        boolean z2 = true;
        if (i == 1) {
            VipCenterFragment.OnClick onClick = this.mClick;
            if (onClick == null) {
                z2 = false;
            }
            if (z2) {
                onClick.switchPay(0);
            }
        } else if (i == 2) {
            VipCenterFragment.OnClick onClick2 = this.mClick;
            if (onClick2 != null) {
                z = true;
            }
            if (z) {
                onClick2.switchPay(1);
            }
        } else if (i == 3) {
            VipCenterFragment.OnClick onClick3 = this.mClick;
            if (onClick3 != null) {
                z = true;
            }
            if (z) {
                onClick3.switchPay(2);
            }
        } else if (i == 4) {
            VipCenterFragment.OnClick onClick4 = this.mClick;
            if (onClick4 != null) {
                z = true;
            }
            if (z) {
                onClick4.switchPay(3);
            }
        } else if (i == 5) {
            VipCenterFragment.OnClick onClick5 = this.mClick;
            if (onClick5 != null) {
                z = true;
            }
            if (z) {
                onClick5.commitPay();
            }
        }
    }
}
